.cate-container {
    display: flex;
    height: calc(100vh-100rpx);
    background-color: #f8f8f8;
}
.null-box{
  height: 100rpx;
}
.null-box2{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background-color: white;
  height: 100rpx;
}
.search-container {
  position: fixed;
  padding: 15rpx 20rpx;
  z-index: 3;
  // margin-bottom: -20rpx;
}
.search-box {
  display: flex;
  align-items: center;
  border: 1rpx solid #e0e0e0;
  border-radius: 26rpx;
  padding: 10rpx 15rpx;
  width: 700rpx;
  margin-left: -8rpx;
  background-color:white;
}
.search-icon {
  width: 45rpx;
  height: 45rpx;
  margin-right: 10rpx;
}
.search-placeholder {
  font-size: 24rpx;
  color: rgb(116, 112, 112);
}
/* 结算信息栏 */
.checkout-bar {
    z-index: 1000;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100rpx;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20rpx;
    box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
    z-index: 100;
    .img-buy{
      margin:0 50rpx;
      image{
        width: 60rpx;
        height: 60rpx;
      }
    }
}

.checkout-select {
    display: flex;
    align-items: center;
}

.checkout-select checkbox {
    margin-right: 10rpx;
}

.checkout-total {
    font-size: 28rpx;
    color: #ff6b81;
    font-weight: bold;
    margin-left:120rpx;
    margin-right: 40rpx;
}

.checkout-btn {
    background-color: #ff6b81;
    color: #fff;
    width: 200rpx !important;
    height: 60rpx;
    font-size: 25rpx;
    line-height: 60rpx;
    padding: 0 30rpx;
    border-radius: 30rpx;
}
/* 左侧导航 */
.nav-scroll {
    width: 180rpx;
    height: 100%;
    background-color: #fff;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 140rpx;
    font-size: 26rpx;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: #ff6b81;
    font-weight: bold;
    background-color: #fff9f9;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6rpx;
    height: 40rpx;
    background-color: #ff6b81;
    border-radius: 3rpx;
}

.nav-item image {
    width: 60rpx;
    height: 60rpx;
    margin-bottom: 10rpx;
    border-radius: 50%;
}

/* 右侧商品区 */
.goods-scroll {
    flex: 1;
    height: 100%;
    padding: 20rpx;
    box-sizing: border-box;
    padding-bottom: 120rpx;
}

.section-header {
    margin-bottom: 20rpx;
}

.section-title {
    font-size: 32rpx;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 8rpx;
}

.section-desc {
    font-size: 24rpx;
    color: #999;
}

.goods-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.goods-item {
    width: 48%;
    margin-bottom: 20rpx;
    background-color: #fff;
    border-radius: 16rpx;
    overflow: hidden;
    box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
}

.goods-image {
    width: 100%;
    height: 240rpx;
}

.goods-info {
    padding: 16rpx;
}

.goods-name {
    font-size: 28rpx;
    font-weight: 500;
    color: #333;
    margin-bottom: 8rpx;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.goods-desc {
    font-size: 22rpx;
    color: #999;
    margin-bottom: 16rpx;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.goods-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10rpx 10rpx;
}

.goods-price {
    font-size: 28rpx;
    color: #ff6b81;
    font-weight: bold;
}

.cart-icon {
    width: 56rpx;
    height: 56rpx;
}



/* 动画效果 */
.hover-scale {
    transform: scale(0.98);
    transition: all 0.2s ease;
}

.van-popup{
  background-color: #f2f2f2 !important;
}

//顶部
.top-buy{
  margin: 30rpx;
  .clear-allbuy{
    font-size: 30rpx;
    color: rgb(151, 151, 151);
    margin-left: 300rpx;
  }
}
//购物列表
.cart-list {
  width: 95%;
  height:500rpx;
  padding: 20rpx;
}

.cart-item {
  display: flex;
  background-color: #fff;
  border-radius: 20rpx;
  margin-bottom: 20rpx;
  padding: 20rpx;
  box-shadow: 0 4rpx 12rpx rgba(255, 181, 197, 0.2);
}

.item-left {
  display: flex;
  align-items: center;
}
.checkbox {
  transform: scale(0.9);
}

.product-image {
  width: 160rpx;
  height: 160rpx;
  border-radius: 12rpx;
  margin-left: 15rpx;
}
.item-right {
  flex: 1;
  margin-left: 20rpx;
}

.product-name {
  font-size: 30rpx;
  font-weight: bold;
  color: #5A3D2D;
}
.product-desc {
  font-size: 24rpx;
  color: #B8A69B;
  margin: 10rpx 20rpx;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15rpx;
}
.price {
  font-size: 32rpx;
  color: #FF6B8B;
  font-weight: bold;
}

.stepper {
  display: flex;
  align-items: center;
  background-color: #FFECF1;
  border-radius: 30rpx;
  padding: 5rpx;
}
.btn {
  width: 50rpx;
  height: 50rpx;
  text-align: center;
  line-height: 50rpx;
  font-size: 32rpx;
  color: #FF6B8B;
}

.count {
  margin: 0 15rpx;
  font-size: 28rpx;
  color: #5A3D2D;
}